import request from '../utils/request'

export const signIn = (user) => {
  return request({
    method: 'post',
    url: 'https://conduit.productionready.io/users/login',
    data: user
  })
}


export const signUp = (user) => {
  return request({
    method: 'post',
    url: 'https://conduit.productionready.io/users',
    data: user
  })
}